home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
CC_C
/
0574.ZIP
/
ISLOWER.ASM
< prev
next >
Wrap
Assembly Source File
|
1986-08-03
|
295b
|
25 lines
include compiler.inc
ttl ISLOWER, 1.03, 08-03-86 clr
;char function - returns 1 if 'a'-'z', else 0
dseg
cseg
procdef islower, <<chr, byte>>
mov al,chr
mov dx,0
cmp al,'a'
jb L0028
cmp al,'z'
ja L0028
inc dx
L0028: mov ax,dx
pret
pend islower
finish